#ifndef BLOGDETAIL_H
#define BLOGDETAIL_H

#include <QString>
#include <QPixmap>

class BlogDetail
{
public:
    BlogDetail();
    BlogDetail(const QString &title,
               const QString &time,
               const int &readCount,
               const QString &category,
               const QPixmap &authorAvatar,
               const QString &authorName,
               const QString &htmlContent,
               const int &likeCount,
               const int &commentCount,
               const int &favoriteCount);
    QString title;
    QString time;
    int readCount;
    QString category;
    QPixmap authorAvatar;
    QString authorName;
    QString htmlContent;
    int likeCount;
    int commentCount;
    int favoriteCount;
};

#endif // BLOGDETAIL_H
